#include<at89c51ed2.h>
#include <mcs51reg.h>
#include<stdio.h>

void setIdle()
{
	

								EA=1;
								EX1=1;
								printf_tiny("Sending System to Idle Mode\r\n");//idle mode-xlk to CPU Disconnected
								PCON|=0x01; //set IDL bit to enter idle mode
}
